import i18n from "i18next";
import { initReactI18next } from "react-i18next";


const resources = {
  en: {
    translation: {
      "Login": "Welcome to Login"
    }
  },
  zh: {
    translation: {
      "login": "欢迎登录"
    }
  },
};

i18n
  .use(initReactI18next)
  .init({
    resources,
    lng: "zh",

    interpolation: {
      escapeValue: false
    }
  });

  export default i18n;